package com.ztgf.sys.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import com.ztgf.common.dto.BaseDTO;

/**
 * 接口访问日志表DTO
 *
 * @author zhanghualang
 * @Date 2020-07-02 11:45:35
 */
@Data
@TableName("sys_api_log")
@ApiModel(value="接口访问日志表对象", description="接口访问日志表对象")
public class SysApiLogDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "访问地址")
    private String url;
    @ApiModelProperty(value = "IP地址")
    private String ip;
    @ApiModelProperty(value = "方法名目录")
    private String methodPath;
    @ApiModelProperty(value = "消耗时间")
    private Long consumeTime;
}